package com.sc.nft.entity.vo.merchantPledgeTask;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.UserMerchantPledgeTaskStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class TreasureRecordPageVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String pledgeName;

    @ApiModelProperty(value = "活动详情图片")
    private String activityDetailsImage;

    @ApiModelProperty(value = "质押份数")
    private Integer pledgeCount;

    @ApiModelProperty(value = "质押状态 NOT_YET_STARTED:未开始 IN_PLEDGE:质押中 COMPLETED:已完成 ALREADY_ENDED:已退出 FORC_OUT:强制退出")
    private UserMerchantPledgeTaskStatusEnum status;

    @ApiModelProperty(value = "剩余时间")
    private Integer remainingDay;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "创建时间")
    private Boolean isAuto;

    @ApiModelProperty(value = "是否冻结")
    private Boolean isFrozen;

    @ApiModelProperty(value = "最晚退出时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date exitTime;

    @ApiModelProperty(value = "当前时间戳")
    private Long nowTimeStamp;

    @ApiModelProperty(value = "最晚退出时间戳")
    private Long exitTimeStamp;

    @ApiModelProperty(value = "剩余天数")
    private Integer exitDay;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;


}
